import { LOGIN, HOME, LOGOUT, CHANGETAB } from './actionTypes'
export const loginAction = (name) => ({
    type: LOGIN,
    name
})
export const homeAction = (data) => ({
    type: HOME,
    data
})
export const logoutAction = () => ({
    type: LOGOUT
})

export const tabAction = (tabState) => ({
    type: CHANGETAB,
    tabState
})